Optimal. Leaf size=50 \[ -\frac{b \log (\sinh (c+d x))}{a^2 d}+\frac{b \log (a+b \sinh (c+d x))}{a^2 d}-\frac{\text{csch}(c+d x)}{a d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0749684, antiderivative size = 50, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.12, Rules used = {2833, 12, 44} \[ -\frac{b \log (\sinh (c+d x))}{a^2 d}+\frac{b \log (a+b \sinh (c+d x))}{a^2 d}-\frac{\text{csch}(c+d x)}{a d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2833
Rule 12
Rule 44
Rubi steps
\begin{align*} \int \frac{\coth (c+d x) \text{csch}(c+d x)}{a+b \sinh (c+d x)} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{b^2}{x^2 (a+x)} \, dx,x,b \sinh (c+d x)\right )}{b d}\\ &=\frac{b \operatorname{Subst}\left (\int \frac{1}{x^2 (a+x)} \, dx,x,b \sinh (c+d x)\right )}{d}\\ &=\frac{b \operatorname{Subst}\left (\int \left (\frac{1}{a x^2}-\frac{1}{a^2 x}+\frac{1}{a^2 (a+x)}\right ) \, dx,x,b \sinh (c+d x)\right )}{d}\\ &=-\frac{\text{csch}(c+d x)}{a d}-\frac{b \log (\sinh (c+d x))}{a^2 d}+\frac{b \log (a+b \sinh (c+d x))}{a^2 d}\\ \end{align*}
Mathematica [A] time = 0.0414655, size = 50, normalized size = 1. \[ -\frac{b \log (\sinh (c+d x))}{a^2 d}+\frac{b \log (a+b \sinh (c+d x))}{a^2 d}-\frac{\text{csch}(c+d x)}{a d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.001, size = 35, normalized size = 0.7 \begin{align*} -{\frac{{\rm csch} \left (dx+c\right )}{da}}+{\frac{b\ln \left ( a{\rm csch} \left (dx+c\right )+b \right ) }{d{a}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.17884, size = 149, normalized size = 2.98 \begin{align*} \frac{2 \, e^{\left (-d x - c\right )}}{{\left (a e^{\left (-2 \, d x - 2 \, c\right )} - a\right )} d} + \frac{b \log \left (-2 \, a e^{\left (-d x - c\right )} + b e^{\left (-2 \, d x - 2 \, c\right )} - b\right )}{a^{2} d} - \frac{b \log \left (e^{\left (-d x - c\right )} + 1\right )}{a^{2} d} - \frac{b \log \left (e^{\left (-d x - c\right )} - 1\right )}{a^{2} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.1464, size = 554, normalized size = 11.08 \begin{align*} -\frac{2 \, a \cosh \left (d x + c\right ) -{\left (b \cosh \left (d x + c\right )^{2} + 2 \, b \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + b \sinh \left (d x + c\right )^{2} - b\right )} \log \left (\frac{2 \,{\left (b \sinh \left (d x + c\right ) + a\right )}}{\cosh \left (d x + c\right ) - \sinh \left (d x + c\right )}\right ) +{\left (b \cosh \left (d x + c\right )^{2} + 2 \, b \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + b \sinh \left (d x + c\right )^{2} - b\right )} \log \left (\frac{2 \, \sinh \left (d x + c\right )}{\cosh \left (d x + c\right ) - \sinh \left (d x + c\right )}\right ) + 2 \, a \sinh \left (d x + c\right )}{a^{2} d \cosh \left (d x + c\right )^{2} + 2 \, a^{2} d \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + a^{2} d \sinh \left (d x + c\right )^{2} - a^{2} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\coth{\left (c + d x \right )} \operatorname{csch}{\left (c + d x \right )}}{a + b \sinh{\left (c + d x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.33678, size = 132, normalized size = 2.64 \begin{align*} -\frac{\frac{b \log \left (e^{\left (d x + c\right )} + 1\right )}{a^{2}} - \frac{b \log \left ({\left | b e^{\left (2 \, d x + 2 \, c\right )} + 2 \, a e^{\left (d x + c\right )} - b \right |}\right )}{a^{2}} + \frac{b \log \left ({\left | e^{\left (d x + c\right )} - 1 \right |}\right )}{a^{2}} + \frac{2 \, e^{\left (d x + c\right )}}{a{\left (e^{\left (d x + c\right )} + 1\right )}{\left (e^{\left (d x + c\right )} - 1\right )}}}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]